package com.pingao.mp.modular.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pingao.mp.modular.sys.entity.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MenuMapper extends BaseMapper<Menu> {
    List<Menu> getMenusForJwt(Long userId);

    List<Map<String, Object>> list(@Param("search") String search);
}
